package com.file.base;

/**
 * Created by chairal on 2017/7/21.
 */
public class RestError {

    private int code;

    private String message;

    private String stackTraceMessage;

    public RestError() {
    }

    public RestError(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public RestError(int code, String message, String stackTraceMessage) {
        this.code = code;
        this.message = message;
        this.stackTraceMessage = stackTraceMessage;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getStackTraceMessage() {
        return stackTraceMessage;
    }

    public void setStackTraceMessage(String stackTraceMessage) {
        this.stackTraceMessage = stackTraceMessage;
    }
}
